package com.spring66.training.dao.hibernate;

import java.util.List;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.spring66.training.dao.VetDao;
import com.spring66.training.entity.Vet;

public class VetDaoHibernate extends HibernateDaoSupport implements VetDao {
	@Override
	public void create(Vet vt) {
		throw new UnsupportedOperationException("Not supported yet.");
	}

	@Override
	public Vet read(Integer pk) {
		throw new UnsupportedOperationException("Not supported yet.");
	}

	@Override
	public List<Vet> readAll() {
		return getHibernateTemplate().find("from Vet");
	}

	@Override
	public void update(Vet vt) {
		throw new UnsupportedOperationException("Not supported yet.");
	}

	@Override
	public void delete(Vet vt) {
		throw new UnsupportedOperationException("Not supported yet.");
	}
}
